<!DOCTYPE html>
<html ng-app="app">

<head>
    <meta charset="utf-8">
    <title>乐豆明细</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="__STATIC__/index/css/mui.min.css">
    <link rel="stylesheet" href="__STATIC__/index/css/commen.css" />
    <link rel="stylesheet" href="__STATIC__/index/css/my/assets/bean_detail.css" />
</head>

<body ng-controller="bean_detail_controller">
    <header class="mui-bar mui-bar-nav">
        <a class="mui-icon mui-icon-left-nav mui-pull-left" onclick="javascript :history.back(-1);"></a>
        <h1 class="mui-title">乐豆明细</h1>
    </header>
    <style>
        .mui-table-view .mui-media-object {
            max-width: none;
        }
    </style>
    <div id="pullrefresh" class="mui-content" >
        <ul class="mui-table-view">
            {volist name="data" id="vo" }
            {switch name='$vo.type'} 
            {case value="0"}
                <li class="mui-table-view-cell mui-media mui-disabled" >
                    <a href="javascript:;">
                        <div class="mui-media-object mui-pull-right">
                            <span class="or_text">-{$vo['jifen']}</span>
                        </div>
                        <div class="mui-media-body">
                            <span>{$vo['gamename']}-消费乐豆</span>
                            <p class='mui-ellipsis'>{$vo['creat_time']}</p>
                        </div>
                    </a>
                </li>
            {/case} 
            {case value="1"}
                <li class="mui-table-view-cell mui-media mui-disabled">
                    <a href="javascript:;">
                        <div class="mui-media-object mui-pull-right">
                            <span class="wh_text">+{$vo['jifen']}</span>
                        </div>
                        <div class="mui-media-body">
                            <span>{$vo['gamename']}-获取乐豆</span>
                            <p class='mui-ellipsis'>{$vo['creat_time']}</p>
                        </div>
                    </a>
                </li>
            {/case}
            {case value="2"}
                <li class="mui-table-view-cell mui-media mui-disabled">
                    <a href="javascript:;">
                        <div class="mui-media-object mui-pull-right">
                            <span class="wh_text">+{$vo['jifen']}</span>
                        </div>
                        <div class="mui-media-body">
                            {if condition="$vo.state eq 1" }
                                <span>乐豆充值-微信</span>
                            {else /}
                                <span>乐豆充值-支付宝</span>
                            {/if}
                            <p class='mui-ellipsis'>{$vo['creat_time']}</p>
                        </div>
                    </a>
                </li>
            {/case} 
            {case value="3"}
                <li class="mui-table-view-cell mui-media mui-disabled" >
                    <a href="javascript:;">
                        <div class="mui-media-object mui-pull-right">
                            <span class="wh_text">+{$vo['jifen']}</span>
                        </div>
                        <div class="mui-media-body">
                            <span>乐豆充值-密钥兑换</span>
                            <p class='mui-ellipsis'>{$vo['creat_time']}</p>
                        </div>
                    </a>
                </li>
            {/case}
            {case value="4"}
                <li class="mui-table-view-cell mui-media mui-disabled" >
                    <a href="javascript:;">
                        <div class="mui-media-object mui-pull-right" >
                            <span class="or_text">-{$vo['jifen']}</span>
                        </div>
                        <div class="mui-media-body">
                            <span>乐豆消耗-购买称号</span>
                            <p class='mui-ellipsis'>{$vo['creat_time']}</p>
                        </div>
                    </a>
                </li>
            {/case} 
            {case value="5"}
                <li class="mui-table-view-cell mui-media mui-disabled">
                    <a href="javascript:;">
                        <div class="mui-media-object mui-pull-right">
                            <span class="or_text">-{$vo['jifen']}</span>
                        </div>
                        <div class="mui-media-body">
                            <span>乐豆消耗-购买道具</span>
                            <p class='mui-ellipsis'>{$vo['creat_time']}</p>
                        </div>
                    </a>
                </li>
            {/case}
            {/switch}
            {/volist}
        </ul>
    </div>
    <script src="__STATIC__/index/js/mui.min.js"></script>
    <script src="__STATIC__/index/js/jquery.min.js"></script>
    <script src="__STATIC__/index/js/angular.min.js"></script>
    <script src="__STATIC__/index/js/my/assets/bean_detail.js"></script>
</body>

</html>